const express = require('express');
const titleRoutes = require('./titleRoutes'); // 引入标题路由
const typeRoutes = require('./typeRoutes');
const gatherRoutes = require('./gatherRoutes');
const deviceRoutes = require('./deviceRoutes')
const router = express.Router();

// 标题路由
router.use('/titles', titleRoutes);

// 类型路由
router.use('/types', typeRoutes)

// 采集路由
router.use('/gather', gatherRoutes);

//设备路由
router.use('/device', deviceRoutes);
module.exports = router;

